package com.xs.project.mapper;

import com.xs.project.pojo.vo.StudentLeaveClassReq;
import com.xs.project.pojo.vo.UserInfoAndCourseReq;
import com.xs.project.pojo.vo.resp.StudentLeaveClassResp;
import com.xs.project.pojo.vo.resp.UserInfoAndCourse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ClassManagerMapper {
    List<StudentLeaveClassResp> selectLeaveClass(StudentLeaveClassReq request);

    List<UserInfoAndCourse> selectUserInfoAndCourse(UserInfoAndCourseReq request);

    void handleLeaveClass(@Param("id") Integer id,@Param("status") String status);
}
